{include file='public/header'}
<body>
	<div class="us_section1">
		<p class="p1">我的</p>

		<a href="{:url('Notice/index')}" class="a1">
			<img src="__PUBLIC__/home/images/a5.png" alt="">
			<p class="p2">消息</p>
		</a>
	</div>
	<div class="us_section2">
		<div class="container">
			<div class="us_section2_1">
				<div class="a1 clearfix">
					<div class="b1 clearfix">
						<div class="c1">
							<div class="logo">
								<img src="{$user.avatar|default='__PUBLIC__/home/images/a44.png'}" alt="">
							</div>
							<div class="center">
								<p class="p1">{$user.nick_name|default='未设置'}</p>
								<p class="p2">{$user.mobile}</p>
							</div>
						</div>
						<div class="c2">
							<a href="{:url('User/setting')}">
								<img src="__PUBLIC__/home/images/a45.png" alt="">
							</a>
						</div>
					</div>
					<div class="b2">
						<p class="p1" onclick="goUrl('score')">
							<img src="__PUBLIC__/home/images/a46.png" alt="">消费积分<span class="s1">{$user.score}</span>
						</p>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="us_section3">
		<div class="container">
			<div class="us_section3_1">
				<div class="title clearfix">
					<p class="p1">我的订单</p>
					<a href="{:url('Order/index')}" class="a1">查看全部<img src="__PUBLIC__/home/images/a47.png" alt=""></a>
				</div>
				<div class="center">
					<ul class="clearfix">
						<li>
							<a href="{:url('Order/readyPay')}">
								<img src="__PUBLIC__/home/images/a48.png" alt="">
								<p class="p1">待付款</p>
							</a>
						</li>
						<li>
							<a href="{:url('Order/receive')}">
								<img src="__PUBLIC__/home/images/a49.png" alt="">
								<p class="p1">待收货</p>
							</a>
						</li>
						<li>
							<a href="{:url('Order/end')}">
								<img src="__PUBLIC__/home/images/a50.png" alt="">
								<p class="p1">已完成</p>
							</a>
						</li>
						<li>
							<a href="{:url('Order/cancel')}">
								<img src="__PUBLIC__/home/images/a51.png" alt="">
								<p class="p1">已取消</p>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="us_section3">
		<div class="container">
			<div class="us_section3_1">
				<div class="title clearfix">
					<p class="p1">常用功能</p>
				</div>
				<div class="center">
					<ul class="clearfix">
						<li>
							<a href="{:url('Commission/invite')}">
								<!--<a href="{:url('Commission/index')}">-->
								<img src="__PUBLIC__/home/images/a52.png" alt="">
								<!--<p class="p1">我的分销</p>-->
								<p class="p1">我的分享</p>
							</a>
						</li>
						<li>
							<a href="{:url('User/myFavorite')}">
								<img src="__PUBLIC__/home/images/a53.png" alt="">
								<p class="p1">我的收藏</p>
							</a>
						</li>
						<li>
							<a href="{:url('User/address')}">
								<img src="__PUBLIC__/home/images/a54.png" alt="" style="width: 22px;">
								<p class="p1">收货地址</p>
							</a>
						</li>
						<li>
							<a href="{:url('User/sign_log')}">
								<img src="__PUBLIC__/home/images/a55.png" alt="">
								<p class="p1">我的签到</p>
							</a>
						</li>
						<li>
							<a href="tel:{$server_tel}">
								<img src="__PUBLIC__/home/images/a56.png" alt="">
								<p class="p1">客服电话</p>
							</a>
						</li>
						<li>
							<a href="{:url('aboutUs')}">
								<img src="__PUBLIC__/home/images/a57.png" alt="">
								<p class="p1">关于我们</p>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	{include file='public/tabbar'}
</body>
<script>
	$(function(){
		
	})

	function goUrl(type){
		if(type == "score"){
			location.href="{:url('scoreLog')}";
		}
	}


</script>
</html>